The window is resized so the view pixel doesn't correspond to real pixels anymore. (unless you also resize the view)
You have to use mapPixelToCoords (it's a RenderWindow method), take a look at the last paragraph of the view tutorial. (or the doc, if there isn't any python tutorial (I have no idea))