skip painting unless there's actually something to paint