fixed some slight issues with dragging and selecting.