Poor implementation of slider for zoom level selection causes non-integer zoom values

The current implementation of the zoom slider generates 100 values between the min and the max zoom level. This results in some strange non-integer levels, which aren't really visible in the UI since the values are rounded for presentation. However, it turns out that selecting 1x actually resulted in 0.976x which causes a sensor switch and all kinds of image degradation.