fixed odd behaviour when dragging vertex out of viewport
resize viewport on window resize