Remove useless event binding when auto hide is disabled.