add image rotation support to game engine/ImageEditor