As Gili pointed out, StaticResource(Reference) were still in the image package. Moved to markup/html package