With a filter change, I'm pretty sure I put in more that 4.0 litres to get to the middle of the sight glass.
I usually put in 4.0 lt, run the bike for a couple of minutes, give it a few of minutes to settle, and then top up the oil to get to the middle of the glass. If it's not in the middle of glass when on level ground and on the centrestand, you need to add a bit more until it get's there, but remember that it will take a minute or so for it to drain down to the sump after you add a little more oil. There's nothing to worry about.