map canvas: delay paint event 500ms on resize (fixes #2798)