Update gmod_camera.lua

Fixed Facepunch/garrysmod-issues/issues/1389 and cleaned up the code