Feeble attempt at optimizing tile display

Doesnt work still.