Fix drawing on client side. Fix resize for different display sizes.