fixed issue with incorrect scalling of the render texture