fixed double click problem with toolbars