Fixes misc bugs. Tiles no longer render as transparent.