Temporary fix for AFK module lua errors

Proposed temporary fix until Garry puts through a fix for the base code causing the errors. Not required, but prevents waiting for something outside of feasible control or prediction.

Fixes #775, #748, #745, #632 and #482.