fix order of width/height parameters (moodle plugin review)