improved flipping and rotating tiles in brushes in level editor