Fixed bug in goX/Y functions.