fixed aspect ratio problem during rotation