Fix error message when image height is greater than 360