Fix problem with the "drawer" not being closed on iOS