fix display mouse focus

get size from gtm instead of SFML, as it is updated after a resize.