Fix for https://github.com/CODeRUS/mitakuuluu/issues/203
Hide media panel when closing/opening keyboard