For the next person who comes here from Google wanting to know what causes this.
It's Code Trimming. Disable code trimming and it'll work.