Add device_bounds
Adjust device_bounds on map if it is not within map bounds