Modified hitbox code