fix ui texture draw