Fixed focus changing when coming from timer (osx)