fix navigation in zoom-levels < 0, stacks coordinates are not
necessarily integer there