Collision works however character glitches into platforms