How do you stop you gun majicaly sinking into walls?

Whenever i walk over to an object my gun somehow sinks into the wall. How do I stop this?
Please answer. Need Help?!?!

You need to add Layering.

See this similar thread for an answer.