photos edit window bug fixed