Workaround for a graphite but not working properly with object {x, y}