Fixed texture overwrite