Fix some visual bugs with location editing.