fixed some clipboard/middle click stuff