Fixed keyboard hiding on iOS7