Bounds check the zoom factor before we pass it along.

As it turns out failing to do so can mess up the page state.

Change-Id: I8cc785b01c73bde5443bdb78554d7b3809d96afe
Reviewed-by: Andras Becsi <andras.becsi@digia.com>