fix viewport-width for maps in some cases

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>