[Realtime] Fix map canvas rendering issue in QGIS 2.4