Disabled update when map window is in background

Even with map_bg_ms CVAR set to 1000 map canvas updates consume significant amount of one CPU core cycles.
It’s important for mobile computers to reduce noise, heat and battery drain.
Merge pull request #52 from alexey-lysiuk/map_no_bg_update

Disabled update when map window is in background