Correct the way that picture sizes are decided