Small fix for minimap painting