fixes a bug with end of lines while loading .obj-files