should no longer crash when overlay items are for some reason set to a height < 0 (#460)