Added action check to prevent weapon switching while zooming an object.