Fix UI glitches that prevented inspect from working