Fix implementation of getMousePos

Animation is still broken, but getMousePos is now working properly as
its own method called from a seperate event listener than the one that
calls the sand create method.