lib: Make Window be hidden by default.

This prevents calling virtual method paint from constructors.