Fixing custom contentInsets

Showing and hiding the keyboard breaks custom contentInsets for the tableView.