A quick fix for UI bug when zooming out. Issue #38.