Temporary workaround for packet casting

Reenable this once it's fixed.