Some bugfixes in the timeline:

- some simplifications in the cursor flag painting;
- determine whether or not to use sloppy painting for the entire
  visible view, not only the clip bounds.