[FIX] fixed bug: "camera is not defined"
[FIX] fixed bug: "srcElement is not defined"