[DF-4113] fix crash on keyboard hiding