Improved display break logic.