gl engines: fixed rotation problem