removed rootX and rootY from CustomShape