Fix geometry issue with render_nine_slice