Revert "Set window state on platform window creation"

This broke fingerterm launch due to infinite recursion thanks to flush.
This reverts commit 0643eb7473b60449bcedb8b9eaac1adebcf5962c.