Fixed a bug where some devices' text boxes didn't show up, and devices appeared in front of text boxes.