Fixed drawing of flipped tiles.