* Hopefully this fixes flickering with double or triple buffering