Set default window size to 300x150, which is the same of the standard
Add a test and prepare for refactoring rendering part, which performs strange during resizing