make user picture work in all Moodle versions