fix max zoom level in actionWidget (int overflow)
allow vertical lines in envelope tool