if controlbar is invisible don't update it