This is working-as-intended. Some modern cars only have a very approximate sensor in the fuel tank, and then use computer modelling of fuel use to make the gauge look like it is going down smoothly. After all, the engine knows exactly how many ml it injects with every stroke, so can measure fuel use very precisely - the only unknown is what you are putting in.
Therefore, they assume that you never fill up less than say a half tank. If you fill up less, it will pretend you didn't fill up at all, and the gauge will still say three quarters when it is full to the brim.
The only way to get the gauge and actual tank back in sync is to use up at least half a tank, and then refill all the way.