Draft: Fixed bug in custom svg patterns