Issue #2095139 by dawehner, pwolanin, kfritsche, YesCT, tstoeckler: Fixed Checking for the active tab should use raw variables.