editor: fix valgrind-warning

The initialization of the trackview did calculation based on
undefined values, which gave a Valgrind warning. In this case it
wasn't dangerous - the correct values would be recalculated once
the widget got resized as a response to becoming visible.

Let's just initialize these values to keep Valgrind happy.