Update lib/core/util.js

fixed getRect. Make sure to set correct x/y