Fixed up tile placement logic