I agree with all of the above to cool all the way down to your fermenting temp (hopefully around 65 F) before pitching the yeast, and taking your OG reading right before pitching the yeast.
I'm an extract only brewer right now, due to lack of funds to get better equipment. I always boil at 11-12 liters, then cool my wort in an ice bath. When I get down to about 35-40 C, I have 3 or 4 1-liter bottles that I have put in the freezer after I have shut the flame off (I also do a hopstand for about 20 mins). So then that helps me get down those last 15 or so degrees celsius. At this point I have anywhere from 15-17 liters of wort in my boil pot. I then siphon the wort off the trub into the fermenter and use a strainer, which is great because it can help aerate it pretty well at this point to, and doing this helps cool it all the way down to the 20C that i'm aiming for.
Then I check the OG before I top off. After that I add my top off water 1 liter at a time (stirring very well, then measuring again) until I reach the estimated OG. Often times I will end up at the estimated volume of wort (19L or 5g), but every now and then it will be over or under. If it's over, I try not to go over 19.5 only because I use my brew pot as my bottling bucket and it's 19L.
I recommend this method if you're trying to get the exact estimated OG. If you're just trying to get a specific amount of wort, then ignore this entire comment.