Fix rounding problem for texture coordinate.
Try to avoid the transparency bug, but that's not solved for now.