[OpenGLScroller] Fix int/nint and float/nfloat issues