Fix keyboard hiding issue