fixes texture-path when it is like this: "/texture.png" and is meant to be relative