Fix for children init order
Add border properties to rectangle