nine/device9: fix cube texture updating