Added a function to convert screen coordinates into tile coordinates within a TileMap. Added that to the bar display and fixed some bugs with the bar display.