glFLush seems to be not enough... use glFinish