Fix measurement error in Minimap.updateDisplay() and solve sub-pixel rendering bug