Fixed flickering graphics!!!