Fixed crash when scaling using arrow keys without having an object selected.