Fix for rubber-band selection