If a device is active, remove it on resize. If not, leave device properties alone, so that things like touch simulation stay enabled when resizing without a device. MozReview-Commit-ID: Hvo6AdTJRBJ