Fixed problem when locking by pressing knob.