Finally fixed the bug merging brush strokes on the whiteboard.