Fix for failing test in test_dock.test_extentsChanged