fix popup wrong location on bottom items (#37)