Make sure zoom level is an integer.

Seems needed on Sailfish 1.1.0.38 "Uitukka".