Bug fix

Bug fix. Re-calculate rectangle size suitably when .setCenter() is
called.