Have you found a solution for this? I'm having the same problem.
What version of Xojo are you guys using? This issue should have been resolved in 2018r1.
I’m running 2017R3 because There are still 100% cpu problems with Pi web apps in 2018R2. I posted a simple app that works under 2017R3 but not 2018R2 at the end of this thread.