[bug] Redrawing frame too often when windows split