[gui][displayComponentsWidget] Fix bug when resetting dimensions

1 job for fix0 in 2 minutes and 32 seconds (queued for 3 seconds)