Fix how delta is set when deltaY and deltaX has a value