fix moving objects with mouse