When using removeAll() and then adding the another calendar panel with add() on the same panel, dynamically changing the viewport. There are certain checks that fail which have been accounted for with this commit.