clock: Ensure that calendar popup is always on screen
This fixes the problem that the calendar popup is rendered partially off sceen on the right when the user expands the locations or adds a location with long name that extends the calendar popup.
This fixes the problem that the calendar popup is rendered partially off sceen on the right when the user expands the locations or adds a location with long name that extends the calendar popup.