Fix bugs in the timeline keyframe markers