fix ninepatch and shape