add () around addition expression before division (fix precedence) in example on overlaying image on preview