Fix zooming on the emulator.
Initialize context properties when the context changes.

In Sailfish OS 1.1.0.38, it seems to change e.g. when minimizing and
restoring the application.