Fix for arrows not adjusting to window resize