added screen class to render. fixed the out of bounds pixel error