fixed focus gained event for paused gui;