Fixed the issue of ControlView hide and show