Fixed issue with interaction not be reenabled

There was an issue where if panning was disabled when the view controller was closed, user interaction would never be enabled again.