Set top and left on to

Found this when working on the selectable component. Without setting the top or left the selection box would not set properly when the x or y parameters in to were less than the x and y parameters in moveTo.

With this change and the change to rect you should be able to select in all directions in selectable.