Fix for entering horizontal pipes