[Ide] Fixed main toolbar drawing on linux.