Fixed an issue where dimension labels could end up under other UI components for shapes that have edges on the top and/or bottom of the shape placement board.