fixed getTileAt()

This will be useful for things such as collision detection