Added culling for performances

Introduce culling for refresh performances. Only update context of fully
visible windows