WIP: fixcing offset texture lookup