Set dimension to new windows.

Actually this don't work, I don't know why (I don't commit broken
features by pleasure)