Fixes to map isTileEmpty is till broken