Fixed minor memory leak
Fixed mouse dragging inside sidebar