Solved dragging bug of layer control and tool panels