Fix some irrlicht issues