Check if keyboard is hidden before skipping frame observations