Fixed bug where Y coordinate was actually X.