Fixed problem that the selected photos are not highlighted.