[[ Bug 13943 ]] Get centerRect correctly
Merge pull request #1447 from runrevali/bugfix-13943

[[ Bug 13943 ]] Get centerRect correctly