Fixed issue with frame's origin set to {0,0} while expanding.
Merge pull request #6 from maxep/master

Fixed issue with frame's origin set to {0,0} while expanding.