UI-3136 incorect UI of calendar when resize window