Refs #2334 - set maximized to false before setting window bounds
Fixed code spacing