removed call to getMapX and getMapY, since it will always return zero