Fixed PhotoEditor (thanks to vutaluk1995)