moved natives and fixed cube rendering