Made window always appear in center of screen