Add picture dimensions to make rendering smoother