Fix tiles flip