Fixed some of renderer. TODO: render texture