made some changes so the graphics run more consistently over platforms