Fixed  position in rectangle twisted gives error.

Function was missing.