Fix issue with hovering not working if game is maximised