fix gridspec bug that location is wrongly calculated for non-square grid
Authored by: leejjoon 2010-08-28
Parent: [r8666]
Child: [r8668]