Fixed a bug where the game would crash if it found a file that wasn't a png in the tiles directory