[css-shapes] fix shape-from-image sizing and positioning