Fixed }} bug in viewport.