fix texture draw