remove unnecessary setFlipped call