Fixed a bug of flax.getRect