Clamp zoom level to integer value

Under some situation requests are getting made for fractional zoom
levels.