Fixes some issues with scroll interaction.