Fix passed locacion in renderStatic