fix insets on ios 7. closes #6