Added padding at the screen's edge to allow smooth rendering.