Fix Example 5_4 on Linux by setting window parameter