Negative wavelength in GUI

Wavelength can be set <0.

This was already fixed before version 21.1 (#314 (closed)), but was broken again.

image