Change mouse callbacks to use float32 for mouse position