Fixing editor layout