make sure that a new floating window really has an initial default width and height.
otherwise you may receive random results.

Change-Id: I3c34b59dc7142e85dd21840fe72c62eeaf808492