Ninepatch decorator improvements