Fixed image size issue with the rotation cutting off images