added fix for top focus lost