Fixed some floating-point compatibility problems with sample app