Don't use ivec in the fragment shader.

Attempt at #1777.  Needs the + 0.5 to round properly on mobile.

-[Unknown]