renderFrame fixed!