Fix crash in gaussian-based layer styles
The default bounds of the device should be reset to the selection-based ones, not to the empty one.