window sizing doesn't depend on the style anymore also, this may cause wrong initial size on plasma mobile (cherry picked from commit f0a5ebe6)