Fix for issue 3190

Fixes deletion of src object rather than the intended p objected, also
ensures ai/onclick doesn't depend on the photography module being
present or bug free by gracefully handing the lack of a aicamera object.
Update ai.dm
Update ai.dm
Update ai.dm
Removed stupid newline at end of file added by github, file should now be unchanged from master
Merge branch 'MrStonedOne' of https://github.com/MrStonedOne/-tg-station into MrStonedOne
Fixing rouge newline added by github
Merge pull request #3200 from MrStonedOne/MrStonedOne

Fix for issue 3190 (AI unable to interact with objects after using view-images verb)