Added log message for focus loss.