Update to prevent y-scroll overflow