Minor cleanup.
[Fix] timeline didn't update on playing
[Fix] timeline did not repaint immediately after current layer changed.