Slightly optimized the map mode drawing code to stop requesting the pixel size again and again.