Fix casts for mouse events on RenderWindow.

This fixes issues with negative values on mouse position and wheel delta for mouse events on a RenderWindow.