Fix issue with arrow keys moving objects when edit mode off