gui: Fix state workspace window resizing

Signed-off-by: Michael Buesch <m@bues.ch>