Fix scanline precision bug (float -> ushort)