tile z sorting fix