Fixed setPixel to wrong index in frame buffer. The index to the buffer array is integer and not float. Because of it there was bad access to the buffer and wrong pixels were set.

This issue was revealed in TEST_1 - SGL_POINTS were not at their desired places.