don't crash on narrow viewport (divide by 0)