Fix rendering engine