avoid unnecessary repaint of static apps