Added checks for the DragDeltaHandlers to fix an error case where the
width or height values being set could become negative, thus causing an
unhandled exception. Tested and verified fixed.