Fix geometry issue with render_nine_slice

I guess this went unnoticed because you used square images...