Pipe wall drilling fix

Fixes the var/dir of the bent pipes when drilling into walls