Switched to a safer UIImage rotation implementatioN