fixed devConsole resize bug