Proper sunlight handling on edits