Makes chem dispenser not resize window.

Fixes #5574.

This should be merged into master, yes?