Fixed resetOnMouseUp using px instead of %