Fix bug in can_edit_picture?