Fixed small bug on EditorComponent