fixed rotation issues in image manipulators