Added checks against if scale == 0. This is a serious problem that can occur when an image without geo data is loading and causes the map projection bounds to go to infinity. Right now, the solution is to simply try to recover.