RectLayer, ShapeLayer fixed
test code added in paintfield-core