bug fix : wrong widget toggle when canvas splitted and not focused
reduce slow invalidateAll