Fix collisions with custom scroll position