Fix render script problems on the samsung galaxy tab3 kitkat.

This is more a work around than a proper fix. The stack size in the
renderscript is not sufficient.