Made dragging detection more consistent. Added the ability to transform vectors from model to view space and vice versa.