Fixed OnResize crash, implemented camera-mouse interaction