fix wrong world to local conversion for direction vector