Fixed flicker problem. (ubuntu 14.04)