Fixed no buffer set issue. Props @afragen.