Fixes missing return value in Texture::fromFile