Added support for mouse position to be used as a controller