Added proper mouse handling for mutliple displays