added viewport fix