Fixed problems with scaled rendering
Added fallback rendering for hardware that can't fit a tileset in a single texture
Amended incomplete commit