fix firing glitches and player movement using layers, and ignoring physics on layer combinations