Fixed keyboard move issue when stats window open
Better code to launch stats window