fixed getRect call in displayObjContainer