Stop devices from mysteriously floating mid-resize