Fix casts for mouse events on RenderWindow.

Use transmute instead of the 'as' keyword for c_uint -> int and c_float -> int
conversions. It might be useful to make those changes on other types of
windows.