Fixed problem with not appearing console in designer on windows
(cherry picked from commit 401f550)