ninepatch is rendered upside down