Fix collision issues with automatic slide changing